package com.shuwen.gcdj.bean.basicsMaintenance.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;


@Data
public class OrderMainResp {

    @ApiModelProperty("主键id")
    private String id;

    @ApiModelProperty("维保单编号")
    private String orderCode;

    @ApiModelProperty("设备名称")
    private String equipmentName;

    @ApiModelProperty("设备id")
    private String equipmentId;

    @ApiModelProperty("设备code")
    private String equipmentCode;

    @ApiModelProperty("专业")
    private Integer major;

    @ApiModelProperty("专业名称")
    private String majorName;

    @ApiModelProperty("维保等级（1一级维保/2二级维保）")
    private Integer type;

    @ApiModelProperty("维保等级（1一级维保/2二级维保）名称")
    private String typeName;

    @ApiModelProperty("负责部门")
    private String responsibleDepartment;

    @ApiModelProperty("负责部门名称")
    private String responsibleDepartmentName;

    @ApiModelProperty("维保人员")
    private String departmentUser;

    @ApiModelProperty("维保人员Id")
    private String responsibleUserid;

    @ApiModelProperty("维保工单状态(1待实时/2已完成/3已报修)")
    private Integer state;

    @ApiModelProperty("维保工单状态(1待实时/2已完成/3已报修)")
    private String stateName;

    @ApiModelProperty("工单编号")
    private String repairCode;

    @ApiModelProperty("执行时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startDate;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endDate;

    @ApiModelProperty("报修id")
    private String responsileuserId;

    @ApiModelProperty("报修工单id")
    private String repairId;

    @ApiModelProperty("区域位置")
    private String areaLocationName;

}
